home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / glimpsehttp / wwwlib / template.bd < prev   
Encoding:
Text File  |  1995-05-16  |  2.9 KB  |  106 lines

  1. #
  2. # This is a sample template file for HTML index generator.
  3. # It has four optional sections (lines beginning with @ are section headers):
  4. # - PROLOG, which is included in the beginning of the index,
  5. # - PREDIR, included before subdirectory list, if any.
  6. # - FORM, which constitutes a form for the search
  7. # - POSTDIR, included after it.
  8. # - EPILOG, included at the end of the index.
  9. # Lines beginning with # are comments,
  10. # All other lines are just copied into index, performing variable
  11. #   substitutions of occurences like $variable.
  12. # You can use the following variables:
  13. # $searchurl - the search script URL
  14. # $relpath - the path relative to the root of the archive index
  15. #   of which is being built
  16. # $adminname - the name of the server administrator
  17. # $adminaddress - the address of the server administrator
  18. #
  19. @PROLOG
  20. @PREDIR
  21. This directory contains the following
  22. sub-directories.  A search here will include all of them.
  23. If you wish to search only one of them follow the appropriate link:
  24. <ul>
  25. @POSTDIR
  26. </ul>
  27. <HR>
  28. @FORM
  29. #
  30. # This part is included after any directories hyperlinks
  31. # Usually, it will contain HTML form to use for search:
  32. #
  33. This is a form based interface to
  34. <A HREF="http://glimpse.cs.arizona.edu:1994/glimpsehttp.html">
  35. GlimpseHTTP</A> WWW search engine.
  36. <A HREF="http://glimpse.cs.arizona.edu:1994/index.html">
  37. Glimpse</A> is an indexing/search program that uses very little
  38. space for the index and allows flexible queries.  
  39. This glimpse interface allows both browsing and searching.
  40. A search covers all files in this directory and all
  41. directories below it.  As you browse deeper, you automatically 
  42. limit the search to where you are.
  43. <P>
  44. For
  45. <A HREF="http://glimpse.cs.arizona.edu:1994/index.html">
  46. information about Glimpse</A>
  47. and where to obtain a copy (for your personal file system or for
  48. your server) follow this link or mail glimpse@cs.arizona.edu
  49. <P>
  50. If You don't have a browser that can supports forms, you can
  51. still <A HREF="$searchurl$relpath">make a search</A>.
  52.  
  53. <FORM ACTION="$searchurl$relpath">
  54.  
  55. What would you like to search for? <INPUT NAME="query">
  56. (example of a Boolean search:  'good;bad'   will find all lines 
  57. containing both 'good' AND 'bad')
  58. <P>
  59. <INPUT NAME="case" TYPE="checkbox">Case insensitive
  60. <INPUT NAME="whole" TYPE="checkbox">Allow partial match to a word
  61. <P>
  62. Number of misspellings allowed:
  63. <SELECT NAME="errors">
  64. <OPTION>0
  65. <OPTION>1
  66. <OPTION>2
  67. <OPTION>3
  68. <OPTION>4
  69. <OPTION>5
  70. <OPTION>6
  71. <OPTION>7
  72. <OPTION>8
  73. <OPTION>Best match
  74. </SELECT>
  75. <P>Maximum number of files returned:
  76. <INPUT NAME="maxfiles" VALUE="100">
  77. <P>Maximum number of matches per file returned:
  78. <INPUT NAME="maxlines" VALUE="30">
  79. <P>
  80. Press this button to submit the query: 
  81. <INPUT TYPE="submit" VALUE="Submit">
  82. <BR>
  83. To reset the form, press this button: <INPUT TYPE="reset" VALUE="Reset">
  84.  
  85. </FORM>
  86.  
  87. @PREFILE
  88. <P>
  89. Files here:
  90. <UL>
  91. @POSTFILE
  92. </UL>
  93. @EPILOG
  94. #
  95. #  included at the end of the index
  96. #
  97. <HR>
  98. <ADDRESS>
  99. <A HREF="mailto:$adminaddress">
  100. $adminname<BR>
  101. $adminaddress</A><BR>
  102. </ADDRESS>
  103.  
  104. </BODY>
  105. @END
  106.